home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3952 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: qns2.qns.com!not-for-mail
  2. From: mjarvis@qns2.qns.com (Michael Jarvis)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: compiling- gcc v.s. cc
  5. Date: 31 Jan 1996 22:55:57 -0600
  6. Organization: Questar Network Services
  7. Message-ID: <4eph4t$72i@qns2.qns.com>
  8. References: <4emvi6$j4@cnn.Princeton.EDU> <4eo8vo$dvg@pyrrhus-f.hrz.tu-chemnitz.de>
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hans Steffani (Hans Steffani (hfst@hrz.tu-chemnitz.de)) wrote:
  12.  
  13.     [snip]
  14.  
  15. > Thats the problem with sun's cc. :-(
  16.  
  17.     [snip]
  18.  
  19. > Sun does only chip a K&R compiler others ship ANSI C Compiler or
  20. > at least compiler which know prototypes.
  21.  
  22. Back in the Good Old Days when Sun still shipped a C compiler with their
  23. computers, it was a K&R compiler.  Mind you, this was the ancient days of
  24. SunOS 4.1.x.  
  25.  
  26. Nowadays you have to purchase the compiler from SunSoft (it's called
  27. Sparcworks C now), but it's a very decent ANSI C compiler.
  28.  
  29. If you're using a Sun with SunOS 4.1.x, you probably have a K&R C
  30. compiler, which means you should use it to compile gcc.  If you're using
  31. a Sun with Solaris 2.x then there is an ANSI C compiler available but it
  32. costs some money, which means you STILL might find yourself running gcc.
  33.  
  34. I know this isn't appropriate for c.l.c but I couldn't let an incorrect
  35. post (Sun ships only a K&R compiler) go uncorrected.
  36.  
  37.                                               Regards,
  38.                                               -michael
  39.  
  40. -- 
  41. Michael Jarvis   |  Finger for PGP Public key  |   QNSnet Technical Support
  42. mjarvis@qns.com  | http://www.qns.com/~mjarvis |   Questar Network Services
  43. GC3.1: GCS d s+++: a26 C++++ USLV++++$ P++++ L++ E--- W++ N++ !o K+ W-- !O 
  44. M- !V PS+ PE Y+ PGP+ t+ 5 X R tv b+++ DI+++ D++ G+ e>++ h---(*) r+++ y+++
  45.